package judesart.app.client.controller;

import java.util.List;

import judesart.app.domain.User;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UserControllerAsync
{
    void createUser(User user, AsyncCallback<User> callback);

    void updateUser(User user, AsyncCallback<User> callback);

    void getUser(Long id, AsyncCallback<User> callback);

    void searchUsers(AsyncCallback<List<User>> callback);

    void deleteUser(Long id, AsyncCallback<Void> callback);

    void getCurrentUser(AsyncCallback<User> callback);

    void getFeaturedArtist(AsyncCallback<User> callback);
}
